﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Algobox.JuicyLib.Net.FTP
{
    public class FileDetails
    {
        public string FileName { get; set; }
        public string FilePath { get; set; }
        public int FileSize { get; set; }
        public string FileDateString { get; set; }
        public string Data { get; set; }
        
        public static bool operator ==(FileDetails objA, FileDetails objB)
        {
            return objA.FileName == objB.FileName && objA.FileDateString == objB.FileDateString && objA.FileSize == objB.FileSize;
        }

        public static bool operator !=(FileDetails objA, FileDetails objB)
        {
            return objA.FileName != objB.FileName || objA.FileDateString != objB.FileDateString || objA.FileSize != objB.FileSize;
        }
    }
}
